<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=0,maximum-scale=0,user-scalable=yes,shrink-to-fit=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>表单设计器</title>
    <link rel="stylesheet" href="{{ url_for('dev.static', filename='formbuilder/layui/css/layui.css') }}" />
    <link rel="stylesheet" href="{{ url_for('dev.static', filename='formbuilder/ayq/modules/cron.css') }}" />
	<link rel="stylesheet" href="{{ url_for('dev.static', filename='formbuilder/ayq/modules/labelGeneration.css') }}" />
    <link rel="stylesheet" href="{{ url_for('dev.static', filename='formbuilder/ayq/modules/formDesigner.css') }}" />
</head>

<body class="layui-layout-body">
<!--<button type="button" id="test">aa</button>-->
    <input type="hidden" value="${formId}" id="fromId">
    <div style="height: 100%; width: 100%;" id="formdesigner">

    </div>
	<script type="text/javascript" src="{{ url_for('dev.static', filename='formbuilder/layui/layui.js') }}"></script>
    <script type="text/javascript" src="{{ url_for('dev.static', filename='formbuilder/ayq/js/config.js') }}"></script>
    <script type="text/javascript" src="{{ url_for('dev.static', filename='formbuilder/ayq/modules/Sortable/Sortable.js') }}"> </script>
    <!--htmlformat 为js-beautify代码-->
    <script type="text/javascript" src="{{ url_for('dev.static', filename='formbuilder/ayq/js/htmlformat.js') }}"></script>
    <script type="text/javascript" src="{{ url_for('dev.static', filename='formbuilder/ayq/js/jsformat.js') }}"></script>
    <script type="text/javascript" src="{{ url_for('dev.static', filename='formbuilder/ayq/modules/iceEditor/iceEditor.js') }}"></script>
    <script>
        layui.config(
		{base: "{{ url_for('dev.static', filename='formbuilder/ayq/modules/') }}"}).use(['layer', 'formDesigner', 'jquery', 'tree'], function () {
            var formDesigner = layui.formDesigner;
            var $ = layui.jquery;
            var tree = layui.tree;
            var data = [];
            var render = formDesigner.render({
                data:data,
                elem:'#formdesigner'
            });
        });
    </script>

</body>

</html>